package com.retoc.graduationtravel.domain.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName user
 */
@Data
public class UserLoginResp implements Serializable {
    /**
     * ID
     */
    private Long id;

    /**
     * 账号
     */
    private String userName;

    /**
     * 昵称
     */
    private String name;

    /**
     * 头像照片
     */
    private String photo;

    /**
     * 注册日期
     */
    private Date registerTime;

    /**
     * 登陆token
     */
    private String token;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}